package com.zhiyou100.mapper;

import com.zhiyou100.model.Speaker;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SpeakerMapper {
    List<Speaker> findAll();

    Speaker findById(@Param("id") Integer id);

    void update(@Param("speaker") Speaker speaker);

    void add(@Param("speaker") Speaker speaker);

    void delete(@Param("id") Integer id);
}
